<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class pedidoController extends CI_Controller {

    //constructor de la clase
    function __construct(){
        parent::__construct();
      
    }
        
    public function index(){
        //guarda los contenidos en la variable data
        $data['head'] = 'pages/head';
        $data['header'] =  'pages/header';
        ///$data['menuLateral'] =  'empleado_contents/menuMeseroContent';
        $data['contenido'] =  'empleado_contents/principalMeseroContent';
        
        $this->load->view('plantilla',$data);
    }
    
    public function hacerPedido(){
        
        $data['mesa']=$_GET['mesa'];
        $data['head'] = 'pages/head';
        $data['header'] =  'pages/header';
        ///$data['menuLateral'] =  'empleado_contents/menuMeseroContent';
        //$data['contenido'] =  'empleado_contents/pedidoMesaContent';
        $data['contenido'] =  'empleado_contents/categoriaContent';
        $this->load->view('plantilla',$data);
    }
    
    
} 

?>